<?php

$menu = [
    [
        'name'    => 'booking',
        'title'   => '民宿酒店预订',
        'icon'    => 'fa fa-list',
        'sublist' => [
            [
                'name'    => 'booking/report',
                'title'   => '统计控制台',
                'icon'    => 'fa fa-line-chart',
                'weigh'   => 99,
                'sublist' => [
                    ['name' => 'booking/report/index', 'title' => '查看'],
                ]
            ],
            [
                'name'    => 'booking/addonsconfig',
                'title'   => '配置管理',
                'icon'    => 'fa fa-cog',
                'ismenu'  => 1,
                'weigh'   => 50,
                'sublist' => [
                    [
                        'name'  => 'booking/addonsconfig/index',
                        'title' => '查看',
                    ]
                ]
            ],
            [
                'name'    => 'booking/navigation',
                'title'   => '导航配置',
                'icon'    => 'fa fa-navicon',
                'ismenu'  => 1,
                'weigh'   => 49,
                'sublist' => [
                    [
                        'name'  => 'booking/navigation/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/navigation/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/navigation/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/navigation/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/navigation/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/navigation/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/store',
                'title'   => '门店管理',
                'icon'    => 'fa fa-institution',
                'ismenu'  => 1,
                'weigh'   => 48,
                'sublist' => [
                    [
                        'name'  => 'booking/store/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/store/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/store/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/store/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/store/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/store/admin',
                        'title' => '查看授权',
                    ],
                    [
                        'name'  => 'booking/store/update_auth',
                        'title' => '更新授权',
                    ],
                    [
                        'name'  => 'booking/store/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/house',
                'title'   => '房间管理',
                'icon'    => 'fa fa-home',
                'ismenu'  => 1,
                'weigh'   => 47,
                'sublist' => [
                    [
                        'name'  => 'booking/house/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/house/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/house/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/house/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/house/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/house/multi',
                        'title' => '批量更新',
                    ],
                    [
                        'name'  => 'booking/house/search',
                        'title' => '房间预定状态',
                    ],
                ],
            ],
            [
                'name'    => 'booking/calendar',
                'title'   => '日历价格',
                'icon'    => 'fa fa-home',
                'ismenu'  => 0,
                'weigh'   => 47,
                'sublist' => [
                    [
                        'name'  => 'booking/calendar/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/calendar/add',
                        'title' => '添加',
                    ]
                ],
            ],
            [
                'name'    => 'booking/config',
                'title'   => '房间配置管理',
                'icon'    => 'fa fa-cog',
                'ismenu'  => 0,
                'weigh'   => 46,
                'sublist' => [
                    [
                        'name'  => 'booking/config/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/config/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/config/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/config/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/config/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/config/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/coupon',
                'title'   => '优惠券管理',
                'icon'    => 'fa fa-jpy',
                'ismenu'  => 1,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/coupon/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/coupon/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/coupon/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/coupon/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/coupon/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/coupon/replay',
                        'title' => '回复评论',
                    ],
                    [
                        'name'  => 'booking/coupon/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/user_coupon',
                'title'   => '优惠券领取记录',
                'icon'    => 'fa fa-jpy',
                'ismenu'  => 0,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/user_coupon/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/user_coupon/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/user_coupon/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/user_coupon/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/user_coupon/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/user_coupon/replay',
                        'title' => '回复评论',
                    ],
                    [
                        'name'  => 'booking/user_coupon/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/coupon_condition',
                'title'   => '优惠券条件',
                'icon'    => 'fa fa-jpy',
                'ismenu'  => 0,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/coupon_condition/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/replay',
                        'title' => '回复评论',
                    ],
                    [
                        'name'  => 'booking/coupon_condition/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/lodgers',
                'title'   => '住客信息管理',
                'icon'    => 'fa fa-user-o',
                'ismenu'  => 0,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/lodgers/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/lodgers/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/lodgers/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/lodgers/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/lodgers/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/lodgers/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/goods',
                'title'   => '商品管理',
                'icon'    => 'fa fa-shopping-cart',
                'ismenu'  => 1,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/goods/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/goods/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/goods/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/goods/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/goods/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/goods/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/goods_category',
                'title'   => '商品分类',
                'icon'    => 'fa fa-shopping-cart',
                'ismenu'  => 0,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/goods_category/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/goods_category/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/goods_category/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/goods_category/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/goods_category/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/goods_category/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/exchange',
                'title'   => '积分兑换',
                'icon'    => 'fa fa-pinterest',
                'ismenu'  => 1,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/exchange/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/exchange/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/exchange/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/exchange/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/exchange/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/exchange/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/exchange_order',
                'title'   => '兑换订单',
                'icon'    => 'fa fa-pinterest',
                'ismenu'  => 0,
                'weigh'   => 45,
                'sublist' => [
                    [
                        'name'  => 'booking/exchange_order/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/exchange_order/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/exchange_order/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/exchange_order/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/exchange_order/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/exchange_order/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/order',
                'title'   => '订单管理',
                'icon'    => 'fa fa-reorder',
                'ismenu'  => 1,
                'weigh'   => 44,
                'sublist' => [
                    [
                        'name'  => 'booking/order/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/order/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/order/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/order/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/order/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/order/detail',
                        'title' => '详情',
                    ],
                    [
                        'name'  => 'booking/order/goods_detail',
                        'title' => '商品订单详情',
                    ],
                    [
                        'name'  => 'booking/order/goods',
                        'title' => '商品订单',
                    ],
                    [
                        'name'  => 'booking/order/edit_info',
                        'title' => '按字段更新订单',
                    ],
                    [
                        'name'  => 'booking/order/save_lodgers',
                        'title' => '编辑订单住客信息',
                    ],
                    [
                        'name'  => 'booking/order/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/wifi',
                'title'   => 'wifi管理',
                'icon'    => 'fa fa-wifi',
                'ismenu'  => 0,
                'sublist' => [
                    [
                        'name'  => 'booking/wifi/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/wifi/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/wifi/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/wifi/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/wifi/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/wifi/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/template_msg',
                'title'   => '模板消息',
                'ismenu'  => 1,
                'weigh'   => 44,
                'icon'    => 'fa fa-envelope-o',
                'sublist' => [
                    ['name' => 'booking/template_msg/index', 'title' => '查看'],
                    ['name' => 'booking/template_msg/add', 'title' => '添加'],
                    ['name' => 'booking/template_msg/edit', 'title' => '编辑'],
                    ['name' => 'booking/template_msg/del', 'title' => '删除'],
                    ['name' => 'booking/template_msg/import', 'title' => '导入'],
                    ['name' => 'booking/template_msg/multi', 'title' => '批量更新'],
                ]
            ],
            [
                'name'    => 'booking/comment',
                'title'   => '评论管理',
                'icon'    => 'fa fa-comments',
                'ismenu'  => 1,
                'weigh'   => 43,
                'sublist' => [
                    [
                        'name'  => 'booking/comment/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/comment/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/comment/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/comment/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/comment/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/comment/reply',
                        'title' => '回复评论',
                    ],
                    [
                        'name'  => 'booking/comment/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/collect',
                'title'   => '收藏管理',
                'icon'    => 'fa fa-heart',
                'ismenu'  => 1,
                'weigh'   => 42,
                'sublist' => [
                    [
                        'name'  => 'booking/collect/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/collect/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/collect/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/collect/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/collect/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/collect/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/teasing',
                'title'   => '吐槽管理',
                'icon'    => 'fa fa-commenting',
                'ismenu'  => 1,
                'weigh'   => 41,
                'sublist' => [
                    [
                        'name'  => 'booking/teasing/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/teasing/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/teasing/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/teasing/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/teasing/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/teasing/reply',
                        'title' => '回复吐槽',
                    ],
                    [
                        'name'  => 'booking/teasing/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/feedback',
                'title'   => '意见反馈',
                'icon'    => 'fa fa-pencil',
                'ismenu'  => 1,
                'weigh'   => 40,
                'sublist' => [
                    [
                        'name'  => 'booking/feedback/import',
                        'title' => '导入',
                    ],
                    [
                        'name'  => 'booking/feedback/index',
                        'title' => '查看',
                    ],
                    [
                        'name'  => 'booking/feedback/add',
                        'title' => '添加',
                    ],
                    [
                        'name'  => 'booking/feedback/edit',
                        'title' => '编辑',
                    ],
                    [
                        'name'  => 'booking/feedback/del',
                        'title' => '删除',
                    ],
                    [
                        'name'  => 'booking/feedback/multi',
                        'title' => '批量更新',
                    ],
                ],
            ],
            [
                'name'    => 'booking/theme',
                'title'   => '移动端预览',
                'icon'    => 'fa fa-mobile-phone',
                'ismenu'  => 1,
                'weigh'   => 39,
                'sublist' => [
                    [
                        'name'  => 'booking/theme/index',
                        'title' => '查看',
                    ]
                ]
            ],
        ]
    ]
];
return $menu;
